package org.brownflat.watergate.domain;

/**
 * <p>&copy Rupert Jones 2012</p>
 *
 * @author rup
 */
public class ReviewContributionBuilder extends AbstractBuilder<ReviewContribution> {
    public ReviewContributionBuilder() {
        super(new ReviewContribution());
    }

    public ReviewContributionBuilder withUser(User user) {
        getEntity().setUser(user);
        return this;
    }

    public ReviewContributionBuilder withReviewContributionState(ReviewContributionState state) {
        getEntity().setReviewContributionState(state);
        return this;
    }

    public ReviewContributionBuilder withReview(Review review) {
        getEntity().setReview(review);
        return this;
    }
}
